import base

from web import models


def run():
    price_policy_obj = models.PricePolicy.objects.filter(category=1, title='个人免费版').first()
    if not price_policy_obj:
        models.PricePolicy.objects.create(
            category=1,
            title='个人免费版',
            price=0,
            project_num=5,
            per_project_member=10,
            per_project_size=50,
            per_file_size=20
        )


if __name__ == '__main__':
    run()
